
import login from '../api/login'
import * as types from '../constants/ActionTypes'

export const changeLoginState = () => dispatch =>{
    return login.login((loginData)=>{
        debugger
        dispatch({
            type: types.LOGIN_STATE
        })
    })
}